	.text
	.align 2
	.globl whileIf
	.type whileIf, @function
whileIf:
	addi sp, sp, -96
	sd ra, 88(sp)
	sd s0, 80(sp)
	addi s0, sp, 96
.whileIf_label_entry:
# %op0 = alloca i32
	li t0, 28
	sub t1, fp, t0
	sd t1, -24(fp)
# store i32 0, i32* %op0
	ld t1, -24(fp)
	addi t0, zero, 0
	sw t0, 0(t1)
# %op1 = alloca i32
	li t0, 44
	sub t1, fp, t0
	sd t1, -40(fp)
# store i32 0, i32* %op1
	ld t1, -40(fp)
	addi t0, zero, 0
	sw t0, 0(t1)
# br label %label2
	j .whileIf_label2
.whileIf_label2:
# %op3 = load i32, i32* %op0
	ld t0, -24(fp)
	lw t1, 0(t0)
	sw t1, -48(fp)
# %op4 = icmp slt i32 %op3, 999999999
	lw t0, -48(fp)
	li t1, 999999999
	slt t0,t0,t1
	sb t0, -49(fp)
# br i1 %op4, label %label5, label %label8
	lb t0, -49(fp)
	bnez t0, .whileIf_label5
	j .whileIf_label8
.whileIf_label5:
# %op6 = load i32, i32* %op0
	ld t0, -24(fp)
	lw t1, 0(t0)
	sw t1, -56(fp)
# %op7 = icmp eq i32 %op6, 5
	lw t0, -56(fp)
	addi t1, zero, 5
	slt s11,t1,t0
	slt t0,t0,t1
	or t0,t0,s11
	addi s11,zero,1
	sub  t0,s11,t0
	sb t0, -57(fp)
# br i1 %op7, label %label10, label %label11
	lb t0, -57(fp)
	bnez t0, .whileIf_label10
	j .whileIf_label11
.whileIf_label8:
# %op9 = load i32, i32* %op1
	ld t0, -40(fp)
	lw t1, 0(t0)
	sw t1, -64(fp)
# ret i32 %op9
	lw a0, -64(fp)
	j whileIf_exit
.whileIf_label10:
# store i32 25, i32* %op1
	ld t1, -40(fp)
	addi t0, zero, 25
	sw t0, 0(t1)
# br label %label14
	j .whileIf_label14
.whileIf_label11:
# %op12 = load i32, i32* %op0
	ld t0, -24(fp)
	lw t1, 0(t0)
	sw t1, -68(fp)
# %op13 = icmp eq i32 %op12, 10
	lw t0, -68(fp)
	addi t1, zero, 10
	slt s11,t1,t0
	slt t0,t0,t1
	or t0,t0,s11
	addi s11,zero,1
	sub  t0,s11,t0
	sb t0, -69(fp)
# br i1 %op13, label %label17, label %label18
	lb t0, -69(fp)
	bnez t0, .whileIf_label17
	j .whileIf_label18
.whileIf_label14:
# %op15 = load i32, i32* %op0
	ld t0, -24(fp)
	lw t1, 0(t0)
	sw t1, -76(fp)
# %op16 = add i32 %op15, 1
	lw t0, -76(fp)
	addi t1, zero, 1
	add t2, t0, t1
	sw t2, -80(fp)
# store i32 %op16, i32* %op0
	ld t1, -24(fp)
	lw t0, -80(fp)
	sw t0, 0(t1)
# br label %label2
	j .whileIf_label2
.whileIf_label17:
# store i32 42, i32* %op1
	ld t1, -40(fp)
	addi t0, zero, 42
	sw t0, 0(t1)
# br label %label21
	j .whileIf_label21
.whileIf_label18:
# %op19 = load i32, i32* %op0
	ld t0, -24(fp)
	lw t1, 0(t0)
	sw t1, -84(fp)
# %op20 = mul i32 %op19, 2
	lw t0, -84(fp)
	addi t1, zero, 2
	mul t2, t0, t1
	sw t2, -88(fp)
# store i32 %op20, i32* %op1
	ld t1, -40(fp)
	lw t0, -88(fp)
	sw t0, 0(t1)
# br label %label21
	j .whileIf_label21
.whileIf_label21:
# br label %label14
	j .whileIf_label14
whileIf_exit:
	ld ra, 88(sp)
	ld s0, 80(sp)
	addi sp, sp, 96
	ret
	.globl main
	.type main, @function
main:
	addi sp, sp, -32
	sd ra, 24(sp)
	sd s0, 16(sp)
	addi s0, sp, 32
.main_label_entry:
# %op0 = call i32 @whileIf()
	jal whileIf
	sw a0, -20(fp)
# call void @putint(i32 %op0)
	lw a0, -20(fp)
	jal putint
# ret i32 1
	addi a0, zero, 1
	j main_exit
main_exit:
	ld ra, 24(sp)
	ld s0, 16(sp)
	addi sp, sp, 32
	ret
